package com.zhuiyun.project.api.venuemanagement.service;

import com.zhuiyun.project.api.venuemanagement.entity.BanRecord;

import com.zhuiyun.project.api.venuemanagement.model.VenueUpdateModel;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import org.springframework.web.multipart.MultipartFile;

import javax.mail.MessagingException;
import java.text.ParseException;

/**
 * @InterfaceName CoachManagementService
 * @Description TODO
 * @Author wuwan
 * @Date 2023/11/2 13:39
 **/
public interface VenueManagementService {
    /*
     * @Author wuwan
     * @Description 修改场馆
     * @Date 2023/11/3 14:16
     * @Return
     */
    CommonResult updateVenue(VenueUpdateModel venueUpdateModel, MultipartFile file) throws CommonException;
    /*
    * @Author wuwan
    * @Description 场馆信息分页查询
    * @Date 2023/11/3 14:16
    * @Return
    */
    CommonResult selectVenue(PageRequest pageRequest,String userName,String phone);
    /*
    * @Author wuwan
    * @Description 修改场馆状态
    * @Date 2023/11/6 9:02
    * @Return
    */
    CommonResult changeUserStatus(BanRecord banRecord) throws ParseException, MessagingException;
    /*
    * @Author wuwan
    * @Description
    * @Date 2023/12/7 15:35
    * @Return
    */
    CommonResult selectById(PageRequest pageRequest, String id);
}

